/*
package com.coolweather.android;

import java.util.List;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.TextView;

import com.longtop.changzhoupark.R;
import com.longtop.entity.GenericBean;
import com.longtop.util.ImageLoadManager;

public class EventCalenderAdapter extends BaseAdapter {

	private Context context; // ����������
	private List<GenericBean> mDiscoveryPlantBeans; // ��Ϣ����
	private LayoutInflater listContainer; // ��ͼ����
	private ListItemView listItemView = null;

	class ListItemView {
		private ImageView mImage;
		private TextView mText;
		private TextView mTextContent;
		private TextView mMoreInfo;
		
	}
	public EventCalenderAdapter(Context context, List<GenericBean> flowerCalendarBeans) {
		this.context = context;
		listContainer = LayoutInflater.from(context); // ������ͼ����������������
		System.out.println("asdf"+flowerCalendarBeans);
		this.mDiscoveryPlantBeans = flowerCalendarBeans;
	}

	@Override
	public int getCount() {
		// ���ﷵ�صľ���ListView�ĸ���
		return mDiscoveryPlantBeans.size();
	}

	@Override
	public Object getItem(int arg0) {
		return null;
	}

	@Override
	public long getItemId(int arg0) {
		return 0;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {

		// �Զ�����ͼ
		if (convertView == null) {
			listItemView = new ListItemView();
			convertView = listContainer.inflate(R.layout.activity_event_calender_item, null);
			
			listItemView.mMoreInfo = (TextView) convertView
					.findViewById(R.id.moreInfo);
			listItemView.mMoreInfo.setVisibility(View.GONE);
			listItemView.mImage = (ImageView) convertView
					.findViewById(R.id.flowerMonthImage);
			listItemView.mText = (TextView) convertView
					.findViewById(R.id.flowerMonthText);
			listItemView.mTextContent = (TextView) convertView
					.findViewById(R.id.flowerMonthContent);
			convertView.setTag(listItemView);
		} else {
			listItemView = (ListItemView) convertView.getTag();
		}
		GenericBean DiscoveryPlantBean = mDiscoveryPlantBeans.get(position);
		// ��������
		ImageLoadManager.getLoaderInstace().disPlayRoundImg("http://web.zingke.com:8083/BackManager/"+DiscoveryPlantBean.getImages(),
				listItemView.mImage, R.drawable.loading);
		listItemView.mText.setText(DiscoveryPlantBean.getName());
		listItemView.mTextContent.setText(DiscoveryPlantBean.getSubtitle());
		return convertView;
	}

}
*/
